package com.hystrix.order.service;

import org.springframework.stereotype.Component;

@Component
public class CommonPaymentFallBackService implements PaymentHystrixService{
    @Override
    public String payment_ok(Integer id) {
        return "调用payment_ok宕机了";
    }

    @Override
    public String payment_timeout(Integer id) {
        return "调用payment_timeout宕机了";
    }
}
